﻿using CPPEI.Coolzon.Common;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CPPEI.Coolzon.Event.Core;
using CPPEI.Coolzon.UI;

namespace CPPEI.Coolzon.DisplayApp
{
    public partial class MainWindow
    {
        [Subscribe]
        public void OnOpened(CoreOpenSceneCompletedEvent @event)
        {
            if (UIContext.Current.IsAutoPlay && dispatcherTime != null)
            {
                dispatcherTime.IsEnabled = true;
            }
        }
    }
}
